<template>
	<div>
		<iframe name="iframe" id="iframeMapViewComponent" width="95%" height="780px"
			:src="url" :visible.sync="isBind" frameborder="0" style="margin-left: 2%;" scrolling="no"
			ref="iframeDom"></iframe>
	</div>
</template>
<script>
	import { getToken } from '@/util/auth'
	import {
		mapGetters
	} from "vuex";
	import request from '@/router/axios';
	import {
		baseUrl
	} from '@/config/env';

	const dic = [];
	const user = [];
	export default {
		data() {
			return {
				isBind:false,
				token:'',
				url:"https://cloudadmin.ebyte.com/dp/map.html",
			}
		},
		created() {
			
			let token=getToken();
			this.url=this.url+"?token="+token;
			console.log(this.url);
			this.isBind=true;
		}
	}
</script>
